package com.chixing.day03_oop;

public class PersonTest {
    public static void main(String[] args) {
        Person person1 = new Person("dd",24,"男","已婚");
        Person person2 = new Person("ff",22,"女","已婚");
        person1.canMarry(person2);
        System.out.println(person1.canMarry(person2));
    }
}
